package clock;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class Tick implements ActionListener {

	private ClockCanvas canvas;
	
	public Tick(ClockCanvas canvas) {
		this.canvas = canvas;
	}
	
	@Override
	public void actionPerformed(ActionEvent event) {
		this.canvas.repaint();
	}

}
